package com.jr.controller;

import com.jr.service.TopListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController /*替换@RestController=@Controller + @ResponseBody*/
@RequestMapping("/Top/")
public class TopListController {
    @Autowired
    private TopListService topListService;
}
